/*
 * Copyright (C) 2007-2008  Hylke van der Schaaf
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, in version 3 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package hextd.tower;

/**
 *
 * @author hylke
 */
public abstract class PanelTowerSettings extends javax.swing.JComponent {

	abstract public void setModes(int m, String[] modes);

	/**
	 * set the mode m to value v.
	 * suppress indicates wether this change should trigger an event or wether
	 * this event should be suppressed.
	 * @param m The mode to set.
	 * @param v The value to set the mode to.
	 * @param suppress Should the event be suppressed.
	 */
	abstract public void setMode(int m, int v, boolean suppress);

	//abstract public int nextMode(int activateTick, int m);
	abstract public int getMode(int m);

	@Override
	abstract public void setEnabled(boolean enable);

	abstract public void setCanLock(boolean b);
}
